// 创建vue对象
var vm = new Vue({
    el: "#app",
    data(){
        return {
            books: null
        }
    },
    methods: {
        my_async(){
            axios.get("http://localhost:10086/mb/books/find_all")
                .then(res => {
                    this.books = res.data;
                })
                .catch(error => console.log(error))
        }
    }

});